package com.classtest.classtestdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.classtest.classtestdemo.bean.DbOrder;
import com.classtest.classtestdemo.mapper.DbOrderMapper;
import com.classtest.classtestdemo.service.DbOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DbOrderServiceImpl extends ServiceImpl<DbOrderMapper, DbOrder> implements DbOrderService {

    @Autowired
    DbOrderMapper dbOrderMapper;
    @Override
    public void insertOrder(DbOrder dbOrder) {
        dbOrderMapper.insertOrder(dbOrder);
    }
}
